<?php
namespace app\crontab\command;

use app\share\model\PingRecord;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class PingDay extends Command {
    protected function configure()
    {
        $this->setName('PingDay')
            ->setDescription('ip通断每日数据每日23:30执行一次');
    }

    protected function execute(Input $input, Output $output)
    {
        $model = new PingRecord();
        $model->timeAddPing();
    }
}